Q: Where can I find documentation on the 680x0 assembler ("as") for NeXT workstations?\
\
A:
\pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\fc0 There is no official documentation for the NeXT assembler, and at present "as" is not supported as a development tool by NeXT
\pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\fc0 . NeXT encourages developers to write in higher-level languages such as Objective-C and C, to ensure portability across systems.\
This having been said, there are a few items that may be useful. \
\
First of all, the instruction set is documented in Motorola's manuals for the 68030 and 68040. The syntax is different from ours. \
\
Second, there are "asm" breaks available in our C compiler.\
\
Third, the cc -S option sends assembler code to a .s file that you can edit. This is a useful way to develop subroutines if you need to, because it provides all the pre- and postamble code for nesting and establishing a stack frame.\
\
The syntax of the "as" assembler follows the syntax of the assembler in the GNU distribution. If you like, and if you can make use of it, you can order the assembler source, which NeXT makes available as part of the GNU software distribution. It's not available for 2.0, but you should be able to get the 1.0 version. The next release of the GNU source will be based on the NeXT 2.1 system software. However, it is not available yet. Please note that these sources are not supported, and they are just available per the GNU license agreement.\